Remove dependence on various plugins
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Oct 2014 22:04:13 +0000 (15:04 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 17 Oct 2014 22:25:50 +0000 (15:25 -0700)
commit3512d99749b21d4f2cf30eac5733833ed1343047
treea56ef532083a43da641dc529cf49b8226bf4a581
parentc3fd7d034a3a5437a62155f1a10c19b40a3ff999
Remove dependence on various plugins

It's looking more likely like plugins will not make it into the stable channel
of Rust, so this commits removes Cargo's personal dependence on the two
plugin-based pieces of functionality it was using:

1. Uses of the `regex!` macro now go through `Regex::new`.
2. Uses of the `docopt!` macro now go through `deriving(Decodable)` instead.
28 files changed:
Cargo.lock
Cargo.toml
src/bin/bench.rs
src/bin/build.rs
src/bin/cargo.rs
src/bin/clean.rs
src/bin/config_for_key.rs
src/bin/config_list.rs
src/bin/doc.rs
src/bin/fetch.rs
src/bin/generate_lockfile.rs
src/bin/git_checkout.rs
src/bin/help.rs
src/bin/locate_project.rs
src/bin/login.rs
src/bin/new.rs
src/bin/package.rs
src/bin/pkgid.rs
src/bin/read_manifest.rs
src/bin/run.rs
src/bin/test.rs
src/bin/update.rs
src/bin/upload.rs
src/bin/verify_project.rs
src/bin/version.rs
src/cargo/core/package_id.rs
src/cargo/core/resolver.rs
src/cargo/lib.rs